package com.base.pig.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.base.pig.entity.Smregister;
import com.base.pig.mapper.SmregisterMapper;
import com.base.pig.service.SmregisterService;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjh
 * @since 2022-04-15
 */
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class SmregisterServiceImpl extends ServiceImpl<SmregisterMapper, Smregister> implements SmregisterService {


    @NonNull
    SmregisterMapper  smregisterMapper;

    @Override
    public String getTableName(String dataSetName) {
        return smregisterMapper.getTableName(dataSetName);
    }
}
